package Telas.pesquisas;

import java.util.List;

import javax.swing.table.AbstractTableModel;

public abstract class ModeloTabelaPadrao<T> extends AbstractTableModel {
	
	private static final long serialVersionUID = 1L;

	public abstract int getColumnCount();

	public abstract int getRowCount();
	
	public abstract List<T> getLinhas();
	
	public abstract void setLinhas(List<T> linhas);
	
	public abstract T getObjetoSelecionado();
	
	public abstract void setObjetoSelecionado(T obj);
	
	public abstract String getColumnName(int column);
	
	public abstract Object getValueAt(int rowIndex, int columnIndex);	

    public abstract Class<?> getColumnClass(int columnIndex);
}
